<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/css/login.css">
</head>
<body>
    <!-- 登录布局 -->
    <div class="layui-card center login">
        <div class="layui-card-header">后台管理系统</div>
        <div class="layui-card-body">
            <form class="layui-form form-login" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <div class="">
                  <input type="text" name="username" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <div class="layui-input-inline">
                  <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">密码为8-16位有效字符</div>
              </div>
              <button type="submit" class="layui-btn  layui-btn-normal btn-login">登录</button>

              <a href="javascript:;" class="goregister">去注册账号</a>
            </form>
        </div>
      </div>


      <!-- 注册布局 -->
      <div class="layui-card register" style="display: none;">
        <div class="layui-card-header">注册</div>
        <div class="layui-card-body">
            <form class="layui-form form-register" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>

                <div class="">
                  <input type="text" name="username" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>

                <div class="layui-input-inline">
                  <input type="password" name="password" required lay-verify="required|pass" placeholder="请输入密码" autocomplete="off" class="layui-input onepwd">
                </div>
                <div class="layui-form-mid layui-word-aux">密码为8-16位有效字符</div>
              </div>
              <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>

                <div class="layui-input-inline">
                  <input type="password" name="" required lay-verify="required|pass|con" placeholder="请确认密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">密码为8-16位有效字符</div>
              </div>
              <button type="submit" lay-submit class="layui-btn  layui-btn-normal">注册</button>
              <a href="javascript:;" class="gologin">去登陆</a>
            </form>
        </div>
      </div>

</body>
<script src="/assets/lib/jquery.js"></script>
<script src="/assets/lib/template-web.js"></script>
<script src="/assets/lib/layui/layui.all.js"></script>
<script src="/assets/js/common.js"></script>
<script src="/assets/js/login.js"></script>
</html>